﻿<Window x:Class="PaymentReceiptWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    SizeToContent="WidthAndHeight" WindowStyle="None" AllowsTransparency="True" Icon="/MyPOS;component/Images/POSIcon.ico"
    xmlns:local="clr-namespace:MyPOS" WindowStartupLocation="CenterScreen" Background="Transparent">
    <Border Background="White" BorderBrush="Navy" BorderThickness="2" CornerRadius="10">
        <Grid Margin="10" Background="{StaticResource WindowBackground}">
            <Grid.RowDefinitions>
                <RowDefinition Height="30"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <TextBlock Margin="20,2" FontSize="16" FontWeight="SemiBold" Foreground="{StaticResource TextLabelColor}">
            <Run Text="Point of Sale (" />
            <Run Text="Your daily business partner....." FontSize="10" FontStyle="Italic"/>
            <Run Text=")" />
            <Run Text=" :: "/>
            <Run Name="ModuleNameRun"/>
            </TextBlock>
            <Button Grid.Column="2" Style="{DynamicResource CloseButtonStyle}" Width="11.195" Content="Button" x:Name="CloseButton" Cursor="Hand" HorizontalAlignment="Right" Margin="0,5.583,7.468,0" VerticalAlignment="Top" Height="12.77"/>
            <Button Grid.Column="2" Style="{DynamicResource MinimizeButtonStyle}" Width="12.402" Content="Button" x:Name="MinimizeButton" Cursor="Hand" HorizontalAlignment="Right" Margin="0,4.733,24.606,0" VerticalAlignment="Top" Height="13.537"/>
            <Path Data="M18,115 L616,115" Fill="#FFF4F4F5" Height="1" Margin="5" Width="800" Stretch="Fill" Stroke="White" Grid.Row="1" Grid.ColumnSpan="2"/>
            <Grid Grid.Row="2" Name="MainStack" Margin="10">
                <Grid.RowDefinitions>
                    <RowDefinition Height="28"/>
                    <RowDefinition Height="28"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="200"/>
                    <RowDefinition Height="Auto"/>
                    </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"/>
                    <ColumnDefinition Width="500"/>
                    <ColumnDefinition Width="Auto"/>
                    <ColumnDefinition Width="Auto"/>
                </Grid.ColumnDefinitions>
                <TextBlock Name="NoTextBlock" Text="Invoice No.:" Style="{StaticResource TextBlockStyle}"/>
                <TextBox  Grid.Column="1" Margin="2"/>
                <TextBlock Text="Vendor Name:" Grid.Row="1" Style="{StaticResource TextBlockStyle}"/>
                <ComboBox Grid.Column="1" Grid.Row="1" Margin="2"/>
                <TextBlock Text="Date:" Grid.Column="2" Style="{StaticResource TextBlockStyle}"/>
                <DatePicker Grid.Column="3" Height="28" Name="DatePicker1" />
                <Path Data="M18,115 L616,115" Fill="#FFF4F4F5" Height="1" Margin="5" Width="725" Grid.ColumnSpan="4" Stretch="Fill" Stroke="White" Grid.Row="2"/>
                <Grid Grid.Row="3" Grid.ColumnSpan="4">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="28"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="90"/>
                        <ColumnDefinition Width="350"/>
                        <ColumnDefinition Width="80"/>
                        <ColumnDefinition Width="200"/>
                    </Grid.ColumnDefinitions>
                    <RadioButton Content="Cash" Margin="5" Foreground="White" VerticalAlignment="Center" GroupName="RT"/>
                    <StackPanel Grid.Column="1" Margin="5" Grid.ColumnSpan="3" Orientation="Horizontal">
                        <RadioButton Content="Cheque" Name="ChequeRadioButton" Foreground="White" VerticalAlignment="Center" GroupName="RT"/>
                        <StackPanel Orientation="Horizontal" Name="ChequeDetailsStackPanel" Visibility="Collapsed">
                            <TextBlock Text="   No. :" Style="{StaticResource TextBlockStyle}"/>
                            <TextBox Width="100" Margin="2"/>
                            <TextBlock Text="Date :" Style="{StaticResource TextBlockStyle}"/>
                            <DatePicker Margin="2"/>
                            <TextBlock Text="Bank Name :" Style="{StaticResource TextBlockStyle}"/>
                            <ComboBox Margin="2" Width="210"/>
                        </StackPanel>
                    </StackPanel>
                    <TextBlock Text="Ledger Name:" Grid.Row="1" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Right" />
                    <ComboBox Grid.Column="1" Grid.Row="1" Margin="2"/>
                    <TextBlock Text="Amount:" Grid.Row="1" Grid.Column="2" Style="{StaticResource TextBlockStyle}" HorizontalAlignment="Right"/>
                    <TextBox Grid.Column="3" Grid.Row="1" Margin="2"/>
                </Grid>
                <DataGrid AutoGenerateColumns="False" Grid.ColumnSpan="4" Grid.Row="4" Margin="5" Name="DataGrid1" Height="200">
                    <DataGrid.Columns>
                        <DataGridTextColumn Header="No" Width="80"/>
                        <DataGridTextColumn Header="Date" Width="80"/>
                        <DataGridTextColumn Header="Gross Total" Width="100"/>
                        <DataGridComboBoxColumn Header="Tax/Discount" Width="90"/>
                        <DataGridTextColumn Header="Net Amount" Width="110"/>
                        <DataGridTextColumn Header="Amount Received" Width="110"/>
                        <DataGridTextColumn Header="Amount Balanced" Width="110"/>
                    </DataGrid.Columns>
                </DataGrid>
                
            </Grid>
            <local:SidePanel Grid.Row="2" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center" Grid.ColumnSpan="2"/>
        </Grid>
    </Border>
</Window>
